<template>
    <div>
        <p>
            我是通过vue构建的login组件 --- {{msg}}
        </p>
        <!--mint-ui插件-->
        <mt-button type="default">default</mt-button>
        <mt-button type="primary">primary</mt-button>
        <mt-button type="danger">danger</mt-button>


        <router-link to="/login">login</router-link>
        <router-link to="/register">register</router-link>
        <router-link to="/info">info</router-link>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "login",
        data:function () {
            return{
                msg:"我是login组件中的数据"
            }
        }
    }
</script>

<style scoped>

</style>
